package com.xspace.android.xafcommon.network;

import org.apache.http.client.CookieStore;


public class NetConstant {
	
	public static CookieStore cookieStore;
	public static int serialID = 0;
    public static boolean loginStatus;
	public static int getSerialID() {
		return serialID++;
	}
	
	public static class TaskStatus {
		public static final int THREAD_SUM = 5;
		public static final int SUCCESS = 200;
		public static final int LOGINFIAL = 203;
		public static final int SESSIONEXPIRES = 403;
		public static final int ERROR_ENCODE = 1002;
		public static final int ERROR_DECODE = 1003;
		public static final int ERROR_NETWORK = 1004;
		public static final int ERROR_TIMEOUT = 1005;
		public static final int JSON_FAIL = 1006;
	}

	public static class TileStatus extends TaskStatus {
		public static final int DESTROY_TILE = 2001;
	}
	public static final String VERSIONUP = "versionUp";
}
